/**
 * 
 */
package kr.gwnu.ac.my.classroom;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

public class collages extends Activity {
	public void onCreate(Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
		
		Intent intent = getIntent();
		switch(intent.getIntExtra("kindOf", 0))
		{
		case R.id.imageButtonArc2: {setContentView(R.layout.social); break;}
		case R.id.imageButtonArc1: {setContentView(R.layout.humanity); break;}
		case R.id.imageButtonArc0304: {setContentView(R.layout.natural); break;}
		case R.id.imageButtonArc0506: {setContentView(R.layout.lifesci); break;}
		case R.id.imageButtonArc0708: {setContentView(R.layout.eng); break;}
		case R.id.imageButtonArc0910: {setContentView(R.layout.arts); break;}
		case R.id.imageButtonArc1112: {setContentView(R.layout.dentistry); break;}
		}
	}
}
